<template>

<div>
    <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
          <el-menu-item index="1">处理中心</el-menu-item>
          <el-submenu index="2">
            <template slot="title">我的工作台</template>
            <el-menu-item index="2-1">选项1</el-menu-item>
            <el-menu-item index="2-2">选项2</el-menu-item>
            <el-menu-item index="2-3">选项3</el-menu-item>
            <el-submenu index="2-4">
              <template slot="title">选项4</template>
              <el-menu-item index="2-4-1">选项1</el-menu-item>
              <el-menu-item index="2-4-2">选项2</el-menu-item>
              <el-menu-item index="2-4-3">选项3</el-menu-item>
            </el-submenu>
          </el-submenu>
          <el-menu-item index="3" disabled>消息中心</el-menu-item>
          <el-menu-item index="4"><a href="https://www.ele.me" target="_blank">订单管理</a></el-menu-item>
        </el-menu>
        <div class="line"></div>




        <div class="container">
          <div class="half-width">
            <div class="inner-half" style="border: 2px solid blue; position: relative;">



            </div>
            <div class="inner-half" style="border: 2px solid green;">
              <p>李佳伟sb</p>
            </div>
          </div>
          <div class="half-width">
            <div class="inner-half" style="border: 2px solid red;">
              <!-- 这里是第三个内部div的内容 -->
            </div>
            <div class="inner-half" style="border: 2px solid yellow;">
              <!-- 这里是第四个内部div的内容 -->
            </div>
          </div>
        </div>
<!--下面-->
<div>
  
</div>





</div>

</template>

<script>
export default {
  
    data() {
        return {
            isVisible: true,
      text: '天瑞仓库',
      src: '',
      uid: '2',
      activeIndex: '1',
      activeIndex2: '1',
      isz: false,
      //侧边栏信息
      ADate: [],
      iconobj: {
        "1": "el-icon-location-outline",
      },
      // 被激活的链接地址
      apath: "",
      //权限数据
      list2: []
    }
  },
  methods: {
   
    //操作提示 --失败
    TiShiSB(xx) {
      this.$message.error(xx + '失败');
    },
  },
  mounted() {
    setInterval(() => {
      this.isVisible = !this.isVisible;
      setTimeout(() => {
        this.text = this.text === '仓储管理系统' ? '欢迎您的光临' : '仓储管理系统';
        this.isVisible = !this.isVisible;
      }, 2000);
    }, 5000);

    this.CeBianlan();
  },
}
</script>

<style scoped>

</style>